import { axios } from '@/utils/request'

/**
 * 查询房产楼层表
 *
 * @author anti
 * @date 2021-04-15 19:15:53
 */
export function busRealEstateFloorPage (parameter) {
  return axios({
    url: '/busRealEstateFloor/page',
    method: 'get',
    params: parameter
  })
}

/**
 * 房产楼层表列表
 *
 * @author anti
 * @date 2021-04-15 19:15:53
 */
export function busRealEstateFloorList (parameter) {
  return axios({
    url: '/busRealEstateFloor/list/' + parameter,
    method: 'get'
  })
}

export function busRealEstateFloorListForHave (parameter) {
  return axios({
    url: '/busRealEstateFloor/busRealEstateFloorListForHave/' + parameter,
    method: 'get'
  })
}
/**
 * 添加房产楼层表
 *
 * @author anti
 * @date 2021-04-15 19:15:53
 */
export function busRealEstateFloorAdd (parameter) {
  return axios({
    url: '/busRealEstateFloor/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑房产楼层表
 *
 * @author anti
 * @date 2021-04-15 19:15:53
 */
export function busRealEstateFloorEdit (parameter) {
  return axios({
    url: '/busRealEstateFloor/edit',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除房产楼层表
 *
 * @author anti
 * @date 2021-04-15 19:15:53
 */
export function busRealEstateFloorDelete (parameter) {
  return axios({
    url: '/busRealEstateFloor/delete',
    method: 'post',
    data: parameter
  })
}
